<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>欢迎您</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/showarticle.css">
</head>
<body>
<div class="header">
    <div class="header-login"><a href="{:U('Index/index')}">BackStage</a></div>
    <div class="header-nav">
        <a class="header-url" href="{:U('User/article')}">添加文章</a>
        <span style="color: #FFFFFF">您好，</span><a class="header-url" href="{:U('User/showarticle')}"  title="查看我的投稿记录"style="text-decoration: underline;">{$user.mail}</a>
        <a class="header-url" href="{:U('User/login')}?quit=exit">退出登录</a>
    </div>
</div>

<!--------------------------------文章主体部分-------------------------------->
<div class="main" style="height: auto">
    <div class="box" style="height: 100%">
     
        <div class="alist-title"><span><a href="{:U('User/listarticle')}" style="color: #fbfbfb">List</a></span></div>
        <foreach name="alist" item="vo">
            <div class="alist-content">
                <img src="__PUBLIC__/{$vo.headurl}" class="content-img">
                <div class="content">
                    <p>作者{$vo.mail}</p>
                    <h3>{$vo.headline}</h3>
                    <p>{$vo.instruct}</p>
                    <a href="">Read More...</a>
                    <br><br>
                    <span>{$vo.is_pass}</span><br>
                    <span class="content-foot"><a href=""></a>|<a href="">删除</a></span>
                </div>
            </div>
        </foreach>
    </div>
</div>
<div class="footer"></div>
</body>
</html>